import 'package:app_base_page/app_base_page.dart';
/**
 *
 * @ProjectName:    manager_page
 * @ClassName:      project_work
 * @Description:    dart类作用描述
 * @Author:         孙浩
 * @QQ:             243280864
 * @CreateDate:     2020/11/24 10:07 PM
 */
import 'package:flutter/cupertino.dart';

import 'base_adapter.dart';
import 'base_page.dart';
import 'info_data.dart';

class ProjectWorkPage extends StatefulWidget {
  String imgPath;

  ProjectWorkPage(this.imgPath);
  @override
  _State createState() => _State();
}

class _State extends BasePage<ProjectWorkPage> {
  @override
  pageV() => false;
  List<InfoData> dataList = [
    InfoData("工作坊流程", """1.聚焦主题
2.头脑风暴
3.分类排列
4.提取中心词
5.盈利矩阵
"""),
    InfoData("促动实施",
        "促进快速盈利，放弃浪费时间的投入，增加获利机会以及专门专项投入"),
  ];

  @override
  Widget initPageBody(BuildContext c) => BaseMPage(widget.imgPath,
          (ctx, index) => buildItem(index), dataList.length, "团队组建");

  buildItem(int index) => BaseAdapter(index, dataList[index]);
}
